/*
package com.easylinkin.linkappapi.alarm.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import com.easylinkin.linkappapi.device.entity.Device;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

*/
/**
 * <p>
 *
 * </p>
 *
 * @author Tongjie
 * @since 2020-04-25
 *//*

@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("linkapp_alarm_rule_relate")
public class AlarmRuleRelate extends Model<AlarmRuleRelate> {

    private static final long serialVersionUID = 1L;

    @TableId("id")
    private String id;

    */
/**
     * 告警规则id
     *//*

    @TableField("alarm_rule_id")
    private String alarmRuleId;

    @TableField("tenant_id")
    private String tenantId;

    */
/**
     * 设备编号
     *//*

    @TableField("device_code")
    private String deviceCode;

    */
/**
     * 是否删除字段 0:已删; 1:存在
     *//*

    @TableLogic(value = "1", delval = "0")
    private Integer deleteState = 1;

    */
/**
     * 设备
     *//*

    @TableField(exist = false)
    private Device device;

    public AlarmRuleRelate() {
    }

    public AlarmRuleRelate(String id, String deviceCode) {
        super();
        this.alarmRuleId = id;
        this.deviceCode = deviceCode;
    }

    @Override
    protected Serializable pkVal() {
        return this.id;
    }

}
*/
